/****************************************************************************************************
 ** @file       AlgorithmsExample.c
 ** @brief      
 ** @details
 **   
 ** @copyright  S7501
 ** @author     yss93
 ** @date       2021/10/14
 **************************************************************************************************/

#include "AlgorithmsExample.h"
#include "../common/algorithms.h"
#include "../common/debug.h"


PUBLIC EG_QuickSort(void){
    double _tmpDoubles[4] = {45,20,666,30};
    UINT32 i = 0;

    QuickSortDouble(_tmpDoubles,4);

    for (i = 0; i < 4; ++i) {
        INFO("%f", _tmpDoubles[i]);
    }

    float _tmpFloat[4] = {45,20,666,30};

    QuickSortFloat(_tmpFloat,4);
    for (i = 0; i < 4; ++i) {
        INFO("%f", _tmpFloat[i]);
    }
}